﻿<Window x:Class="SecurityAdminSuite.EditStringWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    WindowStyle="SingleBorderWindow" ResizeMode="NoResize"
    Icon="/Images/App.png" ShowInTaskbar="False"
    BorderThickness="0"
    WindowStartupLocation="CenterOwner"
    Height="134" Width="288"
    Background="White" >
    <StackPanel>
        <TextBlock Foreground="Black" TextWrapping="Wrap"  x:Name="tbHeader" Text="{Binding Path=Header}" Margin="10,10,10,0"/>
        <TextBox Foreground="Black"  x:Name="tbString" Text="{Binding Path=TextItem,Mode=TwoWay}" Margin="10,10,10,0"/>
        <DockPanel Margin="0,20,0,0" Width="Auto" Height="Auto">
            <Button    IsDefault="True" Click="OK_Click" Margin="10,0,0,0" Width="100" Height="Auto" >
                <Button.Content>
                    <TextBlock Text="Ok" TextAlignment="Center"/>
                </Button.Content>
            </Button>
            <Button   IsCancel="True" HorizontalAlignment="Right" Margin="0,0,10,0" Width="100" Height="Auto" DockPanel.Dock="Right">
                <Button.Content>
                    <TextBlock Text="Cancel" TextAlignment="Center"/>
                </Button.Content>
            </Button>
        </DockPanel>

    </StackPanel>
</Window>
